package cn.zhouchao.basic.controller;

import cn.zhouchao.basic.vo.EchartVo;
import cn.zhouchao.org.service.IShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/echart")
public class EchartController {
    @Autowired
    private IShopService shopService;

    /**
     * 店铺导入
     */
    @GetMapping
    public EchartVo echart() {
       return shopService.echart();
    }


}
